package com.dd.web.base.entity.data;

import com.dd.web.base.entity.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("用户角色对象")
public class UmsRole extends BaseEntity {
    @ApiModelProperty("角色id")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty("权限字符串")
    private String roleKey;

    @ApiModelProperty("数据范围")
    private String dataScope;

    @ApiModelProperty("角色状态（1正常 2停用）")
    private String status;

    @ApiModelProperty("用户菜单集合")
    private List<UmsMenu> menuList;

    private static final long serialVersionUID = 1L;


}
